<hr />
<div class="row-fluid">
    <div class="span9 text-left">
        <a href="javascript:window.location.reload();" class="btn">
            <i class="icon icon-refresh"></i>
        </a>
        <a href="javascript:window.history.back();" class="btn">
            <i class="icon icon-arrow-left"></i>
        </a>
        <a href="javascript:window.history.forward();" class="btn">
            <i class="icon icon-arrow-right"></i>
        </a>
        <foreach name="QuickActions" item="qa" key="k">
            <a href="{:U($qa[action])}" class="btn btn-{$qa.bgcolor}">{:L($k)} {$qa.span}</a>&nbsp;
        </foreach>
    </div>
    <div class="span3 text-right">
        <if condition="$theFilter[fields]">
            <a href="#filterModal" data-toggle="modal" class="btn btn-primary"><i class="icon icon-search"></i> {:L("filter")}</a>
        </if>
    </div>
    
    <div class="modal hide" id="filterModal">
        <form class="form-horizontal" method="GET" action="">
            <div class="modal-header">
                <button data-dismiss="modal" class="close" type="button">×</button>
                <h3>{:L("filter")}</h3>
            </div>
            <div class="modal-body">
                <volist name="theFilter[fields]" id="tff">
                    <if condition="$tff[childs]">
                        <volist name="tff[childs]" id="tffc">
                            <div class="control-group">
                                <label class="control-label">{$tffc.label}</label>
                                <div class="controls">
                                    {$tffc.html}
                                </div>
                            </div>
                        </volist>
                    </if>
                    <if condition="$tff[html]">
                        <div class="control-group">
                            <label class="control-label">{$tff.label}</label>
                            <div class="controls">
                                {$tff.html}
                            </div>
                        </div>
                    </if>
                </volist>
            </div>
            <div class="modal-footer">
                <volist name="theFilter[actions]" id="tff">
                    {$tff}
                </volist>
                <a data-dismiss="modal" class="btn dismissModal" href="#">{:L("cancle")}</a> 
            </div>
        </form>
    </div>
    
</div>